package com.hqyj.crmdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 何万林
 * @since 2022-10-17
 */
@TableName("dev_plan")
@ApiModel(value = "DevPlan对象", description = "")
public class DevPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("销售机会编号")
    @TableId(value = "sale_id", type = IdType.AUTO)
    private Integer saleId;

    @ApiModelProperty("计划日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate planDate;

    @ApiModelProperty("计划内容")
    private String planContent;

    @ApiModelProperty("执行日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate planExecutedate;

    @ApiModelProperty("执行结果")
    private String planExecute;

    @ApiModelProperty("执行人")
    private String uName;

    public Integer getSaleId() {
        return saleId;
    }

    public void setSaleId(Integer saleId) {
        this.saleId = saleId;
    }

    public LocalDate getPlanDate() {
        return planDate;
    }

    public void setPlanDate(LocalDate planDate) {
        this.planDate = planDate;
    }

    public String getPlanContent() {
        return planContent;
    }

    public void setPlanContent(String planContent) {
        this.planContent = planContent;
    }

    public LocalDate getPlanExecutedate() {
        return planExecutedate;
    }

    public void setPlanExecutedate(LocalDate planExecutedate) {
        this.planExecutedate = planExecutedate;
    }

    public String getPlanExecute() {
        return planExecute;
    }

    public void setPlanExecute(String planExecute) {
        this.planExecute = planExecute;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    @Override
    public String toString() {
        return "DevPlan{" +
            "saleId = " + saleId +
            ", planDate = " + planDate +
            ", planContent = " + planContent +
            ", planExecutedate = " + planExecutedate +
            ", planExecute = " + planExecute +
            ", uName = " + uName +
        "}";
    }
}
